package dm71.espil.activities;

import dm71.espil.R;
import dm71.espil.R.layout;
import dm71.espil.activities.bomberman.BombermanActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class GameListActivity extends Activity{
	
	Button btnBomberman;
	GameListActivity context;
	
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.gamemenu);
        
        this.context = this;
        
        btnBomberman = (Button)findViewById(R.id.btnStartBomberman);
        btnBomberman.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v)
			{
				Intent intent = new Intent(context, BombermanActivity.class);
		    	startActivity(intent);
			}
		});
    }  

}
